<template>
  <el-dialog title="审核意见" :visible.sync="dialogFormVisible" width="600px">
    <el-form :model="form">
      <el-form-item label="审批结果" :label-width="formLabelWidth" size="mini">
        <el-radio-group v-model="form.name">
          <el-radio :label="3">通过</el-radio>
          <el-radio :label="6">不通过</el-radio>
        </el-radio-group>
      </el-form-item>
      <el-form-item label="审批意见" :label-width="formLabelWidth" size="mini">
        <el-input
          v-model="form.name"
          placeholder="请输入详审批意见"
          type="textarea"
          axlength="256"
          show-word-limit
        ></el-input>
      </el-form-item>
    </el-form>
    <div slot="footer" class="dialog-footer">
      <el-button size="mini" @click="dialogFormVisible = false"
        >取 消</el-button
      >
      <el-button size="mini" type="primary" @click="submit">确 定</el-button>
    </div>
  </el-dialog>
</template>
<script>
export default {
  data() {
    return {
      dialogFormVisible: false,
      form: {
        name: "",
        
      },
      formLabelWidth: "120px",
    };
  },
  methods: {
    isShow() {
      this.dialogFormVisible = true;
    },
    submit() {
      this.$emit("submit",this.form);
    },
    close() {
      this.dialogFormVisible = false;
    },
  },
};
</script>
<style scoped>
</style>